#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
int main()
{
    int minute = 0;
    scanf("%d", &minute);
    int w = minute;
    int v = 10 + minute / 10;
    if (w > v)
    {
        printf("v\n");
    }
    else
    {
        printf("w\n");
    }

    return 0;
}